#ifndef __LOADRTU_STATE_CALCULATE_CYCLE_H_
#define __LOADRTU_STATE_CALCULATE_CYCLE_H_

#include "loadrtu_runtime.h"

void loadrtu_enter_state_calc_cycle(LOADRTU_STATE_T last);
void loadrtu_exit_state_calc_cycle(LOADRTU_STATE_T next);

bool process_cycle_output(uint16 cycle, 
                          SMOOTHER_T* smoother,
                          uint16* cache,
                          uint16* index,
                          uint16 cache_size);

#endif // __LOADRTU_STATE_CALCULATE_CYCLE_H_
